'use strict'

module.exports = {
  header: {
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    }
  },
  api: {
    // base: 'http://rap2api.taobao.org/app/mock/137177/api/',
    base: 'http://localhost:3000/api/1/',
    creations: 'creations',
    creationsLike: 'creations/like',
    creationsComment: 'creations/comment',
    comments: 'comments',
    signUp: 'u/signup',
    verify: 'u/verify',
    signature: 'signature',
    updateAccount: 'u/update',
    video: 'creations/video',
    audio: 'creations/audio'
  },
  cloudinary: {
    cloud_name: 'rnappgougou',
    api_key: '528685739337829',
    api_secret: 'UM1ucFVvjRMAs1zADoS7atHCjXA',
    base: 'https://res.cloudinary.com/rnappgougou',
    image: 'https://api.cloudinary.com/v1_1/rnappgougou/image/upload',
    video: 'https://api.cloudinary.com/v1_1/rnappgougou/video/upload',
    audio: 'https://api.cloudinary.com/v1_1/rnappgougou/raw/upload'
  },
  qiniu: {
    uploadUrl: 'http://upload.qiniup.com/',
    base: 'http://pngl0ln9b.bkt.clouddn.com/'
  }
}